Optimal. Leaf size=166 \[ -\frac {b^3 x}{2}+\frac {5 a^3 \tanh ^{-1}(\cosh (c+d x))}{16 d}-\frac {3 a b^2 \tanh ^{-1}(\cosh (c+d x))}{d}+\frac {3 a^2 b \coth (c+d x)}{d}-\frac {a^2 b \coth ^3(c+d x)}{d}-\frac {5 a^3 \coth (c+d x) \text {csch}(c+d x)}{16 d}+\frac {5 a^3 \coth (c+d x) \text {csch}^3(c+d x)}{24 d}-\frac {a^3 \coth (c+d x) \text {csch}^5(c+d x)}{6 d}+\frac {b^3 \cosh (c+d x) \sinh (c+d x)}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 166, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3299, 3855,
3852, 3853, 2715, 8} \begin {gather*} \frac {5 a^3 \tanh ^{-1}(\cosh (c+d x))}{16 d}-\frac {a^3 \coth (c+d x) \text {csch}^5(c+d x)}{6 d}+\frac {5 a^3 \coth (c+d x) \text {csch}^3(c+d x)}{24 d}-\frac {5 a^3 \coth (c+d x) \text {csch}(c+d x)}{16 d}-\frac {a^2 b \coth ^3(c+d x)}{d}+\frac {3 a^2 b \coth (c+d x)}{d}-\frac {3 a b^2 \tanh ^{-1}(\cosh (c+d x))}{d}+\frac {b^3 \sinh (c+d x) \cosh (c+d x)}{2 d}-\frac {b^3 x}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2715
Rule 3299
Rule 3852
Rule 3853
Rule 3855
Rubi steps
\begin {align*} \int \text {csch}^7(c+d x) \left (a+b \sinh ^3(c+d x)\right )^3 \, dx &=-\left (i \int \left (3 i a b^2 \text {csch}(c+d x)+3 i a^2 b \text {csch}^4(c+d x)+i a^3 \text {csch}^7(c+d x)+i b^3 \sinh ^2(c+d x)\right ) \, dx\right )\\ &=a^3 \int \text {csch}^7(c+d x) \, dx+\left (3 a^2 b\right ) \int \text {csch}^4(c+d x) \, dx+\left (3 a b^2\right ) \int \text {csch}(c+d x) \, dx+b^3 \int \sinh ^2(c+d x) \, dx\\ &=-\frac {3 a b^2 \tanh ^{-1}(\cosh (c+d x))}{d}-\frac {a^3 \coth (c+d x) \text {csch}^5(c+d x)}{6 d}+\frac {b^3 \cosh (c+d x) \sinh (c+d x)}{2 d}-\frac {1}{6} \left (5 a^3\right ) \int \text {csch}^5(c+d x) \, dx-\frac {1}{2} b^3 \int 1 \, dx+\frac {\left (3 i a^2 b\right ) \text {Subst}\left (\int \left (1+x^2\right ) \, dx,x,-i \coth (c+d x)\right )}{d}\\ &=-\frac {b^3 x}{2}-\frac {3 a b^2 \tanh ^{-1}(\cosh (c+d x))}{d}+\frac {3 a^2 b \coth (c+d x)}{d}-\frac {a^2 b \coth ^3(c+d x)}{d}+\frac {5 a^3 \coth (c+d x) \text {csch}^3(c+d x)}{24 d}-\frac {a^3 \coth (c+d x) \text {csch}^5(c+d x)}{6 d}+\frac {b^3 \cosh (c+d x) \sinh (c+d x)}{2 d}+\frac {1}{8} \left (5 a^3\right ) \int \text {csch}^3(c+d x) \, dx\\ &=-\frac {b^3 x}{2}-\frac {3 a b^2 \tanh ^{-1}(\cosh (c+d x))}{d}+\frac {3 a^2 b \coth (c+d x)}{d}-\frac {a^2 b \coth ^3(c+d x)}{d}-\frac {5 a^3 \coth (c+d x) \text {csch}(c+d x)}{16 d}+\frac {5 a^3 \coth (c+d x) \text {csch}^3(c+d x)}{24 d}-\frac {a^3 \coth (c+d x) \text {csch}^5(c+d x)}{6 d}+\frac {b^3 \cosh (c+d x) \sinh (c+d x)}{2 d}-\frac {1}{16} \left (5 a^3\right ) \int \text {csch}(c+d x) \, dx\\ &=-\frac {b^3 x}{2}+\frac {5 a^3 \tanh ^{-1}(\cosh (c+d x))}{16 d}-\frac {3 a b^2 \tanh ^{-1}(\cosh (c+d x))}{d}+\frac {3 a^2 b \coth (c+d x)}{d}-\frac {a^2 b \coth ^3(c+d x)}{d}-\frac {5 a^3 \coth (c+d x) \text {csch}(c+d x)}{16 d}+\frac {5 a^3 \coth (c+d x) \text {csch}^3(c+d x)}{24 d}-\frac {a^3 \coth (c+d x) \text {csch}^5(c+d x)}{6 d}+\frac {b^3 \cosh (c+d x) \sinh (c+d x)}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.13, size = 236, normalized size = 1.42 \begin {gather*} -\frac {192 b^3 c+192 b^3 d x-384 a^2 b \coth \left (\frac {1}{2} (c+d x)\right )+30 a^3 \text {csch}^2\left (\frac {1}{2} (c+d x)\right )+a^3 \text {csch}^6\left (\frac {1}{2} (c+d x)\right )+120 a^3 \log \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right )-1152 a b^2 \log \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right )+30 a^3 \text {sech}^2\left (\frac {1}{2} (c+d x)\right )+6 a^3 \text {sech}^4\left (\frac {1}{2} (c+d x)\right )+a^3 \text {sech}^6\left (\frac {1}{2} (c+d x)\right )-384 a^2 b \text {csch}^3(c+d x) \sinh ^4\left (\frac {1}{2} (c+d x)\right )-6 a^2 \text {csch}^4\left (\frac {1}{2} (c+d x)\right ) (a-4 b \sinh (c+d x))-96 b^3 \sinh (2 (c+d x))-384 a^2 b \tanh \left (\frac {1}{2} (c+d x)\right )}{384 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.13, size = 254, normalized size = 1.53
method | result | size |
risch | \(-\frac {b^{3} x}{2}+\frac {b^{3} {\mathrm e}^{2 d x +2 c}}{8 d}-\frac {b^{3} {\mathrm e}^{-2 d x -2 c}}{8 d}-\frac {a^{2} \left (15 a \,{\mathrm e}^{11 d x +11 c}-85 a \,{\mathrm e}^{9 d x +9 c}+288 b \,{\mathrm e}^{8 d x +8 c}+198 a \,{\mathrm e}^{7 d x +7 c}-960 b \,{\mathrm e}^{6 d x +6 c}+198 a \,{\mathrm e}^{5 d x +5 c}+1152 b \,{\mathrm e}^{4 d x +4 c}-85 a \,{\mathrm e}^{3 d x +3 c}-576 b \,{\mathrm e}^{2 d x +2 c}+15 a \,{\mathrm e}^{d x +c}+96 b \right )}{24 d \left ({\mathrm e}^{2 d x +2 c}-1\right )^{6}}+\frac {5 a^{3} \ln \left ({\mathrm e}^{d x +c}+1\right )}{16 d}-\frac {3 a \ln \left ({\mathrm e}^{d x +c}+1\right ) b^{2}}{d}-\frac {5 a^{3} \ln \left ({\mathrm e}^{d x +c}-1\right )}{16 d}+\frac {3 a \ln \left ({\mathrm e}^{d x +c}-1\right ) b^{2}}{d}\) | \(254\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 355 vs.
\(2 (154) = 308\).
time = 0.28, size = 355, normalized size = 2.14 \begin {gather*} -\frac {1}{8} \, b^{3} {\left (4 \, x - \frac {e^{\left (2 \, d x + 2 \, c\right )}}{d} + \frac {e^{\left (-2 \, d x - 2 \, c\right )}}{d}\right )} + \frac {1}{48} \, a^{3} {\left (\frac {15 \, \log \left (e^{\left (-d x - c\right )} + 1\right )}{d} - \frac {15 \, \log \left (e^{\left (-d x - c\right )} - 1\right )}{d} + \frac {2 \, {\left (15 \, e^{\left (-d x - c\right )} - 85 \, e^{\left (-3 \, d x - 3 \, c\right )} + 198 \, e^{\left (-5 \, d x - 5 \, c\right )} + 198 \, e^{\left (-7 \, d x - 7 \, c\right )} - 85 \, e^{\left (-9 \, d x - 9 \, c\right )} + 15 \, e^{\left (-11 \, d x - 11 \, c\right )}\right )}}{d {\left (6 \, e^{\left (-2 \, d x - 2 \, c\right )} - 15 \, e^{\left (-4 \, d x - 4 \, c\right )} + 20 \, e^{\left (-6 \, d x - 6 \, c\right )} - 15 \, e^{\left (-8 \, d x - 8 \, c\right )} + 6 \, e^{\left (-10 \, d x - 10 \, c\right )} - e^{\left (-12 \, d x - 12 \, c\right )} - 1\right )}}\right )} - 3 \, a b^{2} {\left (\frac {\log \left (e^{\left (-d x - c\right )} + 1\right )}{d} - \frac {\log \left (e^{\left (-d x - c\right )} - 1\right )}{d}\right )} + 4 \, a^{2} b {\left (\frac {3 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}} - \frac {1}{d {\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 6210 vs.
\(2 (154) = 308\).
time = 0.51, size = 6210, normalized size = 37.41 \begin {gather*} \text {too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 327 vs.
\(2 (154) = 308\).
time = 0.52, size = 327, normalized size = 1.97 \begin {gather*} -\frac {24 \, {\left (d x + c\right )} b^{3} - 6 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} - 3 \, {\left (5 \, a^{3} - 48 \, a b^{2}\right )} \log \left (e^{\left (d x + c\right )} + 1\right ) + 3 \, {\left (5 \, a^{3} - 48 \, a b^{2}\right )} \log \left ({\left | e^{\left (d x + c\right )} - 1 \right |}\right ) + \frac {2 \, {\left (15 \, a^{3} e^{\left (13 \, d x + 13 \, c\right )} + 3 \, b^{3} e^{\left (12 \, d x + 12 \, c\right )} - 85 \, a^{3} e^{\left (11 \, d x + 11 \, c\right )} + 198 \, a^{3} e^{\left (9 \, d x + 9 \, c\right )} + 198 \, a^{3} e^{\left (7 \, d x + 7 \, c\right )} - 85 \, a^{3} e^{\left (5 \, d x + 5 \, c\right )} + 15 \, a^{3} e^{\left (3 \, d x + 3 \, c\right )} + 3 \, b^{3} + 18 \, {\left (16 \, a^{2} b - b^{3}\right )} e^{\left (10 \, d x + 10 \, c\right )} - 15 \, {\left (64 \, a^{2} b - 3 \, b^{3}\right )} e^{\left (8 \, d x + 8 \, c\right )} + 12 \, {\left (96 \, a^{2} b - 5 \, b^{3}\right )} e^{\left (6 \, d x + 6 \, c\right )} - 9 \, {\left (64 \, a^{2} b - 5 \, b^{3}\right )} e^{\left (4 \, d x + 4 \, c\right )} + 6 \, {\left (16 \, a^{2} b - 3 \, b^{3}\right )} e^{\left (2 \, d x + 2 \, c\right )}\right )} e^{\left (-2 \, d x - 2 \, c\right )}}{{\left (e^{\left (d x + c\right )} + 1\right )}^{6} {\left (e^{\left (d x + c\right )} - 1\right )}^{6}}}{48 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.29, size = 486, normalized size = 2.93 \begin {gather*} \frac {\mathrm {atan}\left (\frac {{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c\,\left (5\,a^3\,\sqrt {-d^2}-48\,a\,b^2\,\sqrt {-d^2}\right )}{d\,\sqrt {25\,a^6-480\,a^4\,b^2+2304\,a^2\,b^4}}\right )\,\sqrt {25\,a^6-480\,a^4\,b^2+2304\,a^2\,b^4}}{8\,\sqrt {-d^2}}-\frac {b^3\,x}{2}-\frac {\frac {12\,a^2\,b}{d}-\frac {5\,a^3\,{\mathrm {e}}^{c+d\,x}}{12\,d}}{{\mathrm {e}}^{4\,c+4\,d\,x}-2\,{\mathrm {e}}^{2\,c+2\,d\,x}+1}-\frac {\frac {8\,a^2\,b}{d}+\frac {a^3\,{\mathrm {e}}^{c+d\,x}}{3\,d}}{3\,{\mathrm {e}}^{2\,c+2\,d\,x}-3\,{\mathrm {e}}^{4\,c+4\,d\,x}+{\mathrm {e}}^{6\,c+6\,d\,x}-1}-\frac {b^3\,{\mathrm {e}}^{-2\,c-2\,d\,x}}{8\,d}+\frac {b^3\,{\mathrm {e}}^{2\,c+2\,d\,x}}{8\,d}-\frac {18\,a^3\,{\mathrm {e}}^{c+d\,x}}{d\,\left (6\,{\mathrm {e}}^{4\,c+4\,d\,x}-4\,{\mathrm {e}}^{2\,c+2\,d\,x}-4\,{\mathrm {e}}^{6\,c+6\,d\,x}+{\mathrm {e}}^{8\,c+8\,d\,x}+1\right )}-\frac {80\,a^3\,{\mathrm {e}}^{c+d\,x}}{3\,d\,\left (5\,{\mathrm {e}}^{2\,c+2\,d\,x}-10\,{\mathrm {e}}^{4\,c+4\,d\,x}+10\,{\mathrm {e}}^{6\,c+6\,d\,x}-5\,{\mathrm {e}}^{8\,c+8\,d\,x}+{\mathrm {e}}^{10\,c+10\,d\,x}-1\right )}-\frac {32\,a^3\,{\mathrm {e}}^{c+d\,x}}{3\,d\,\left (15\,{\mathrm {e}}^{4\,c+4\,d\,x}-6\,{\mathrm {e}}^{2\,c+2\,d\,x}-20\,{\mathrm {e}}^{6\,c+6\,d\,x}+15\,{\mathrm {e}}^{8\,c+8\,d\,x}-6\,{\mathrm {e}}^{10\,c+10\,d\,x}+{\mathrm {e}}^{12\,c+12\,d\,x}+1\right )}-\frac {5\,a^3\,{\mathrm {e}}^{c+d\,x}}{8\,d\,\left ({\mathrm {e}}^{2\,c+2\,d\,x}-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________